﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace CarRental.Controls
{
    using CarRental.Database;

    public partial class PromotedCars : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            rptPromotedCarsRepeater.DataSource = Database.GetCarsPromoted();
            rptPromotedCarsRepeater.DataBind();
        }
    }
}